import React,{useEffect,useState} from "react"
import { useLocation} from "react-router-dom"
const Video:React.FC = () =>{
    let location = useLocation()
    let [url,setUrl]=useState<string>('')
    useEffect(() => {
        console.log(location)
    }, [ url ])
    return <div>
        <video src=""></video>
    </div>
}
export default Video